package com.jk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/* *
 * @author rnn
 * @date 2018/4/12 8:41
 */

//加载spring环境 扫描(本包及子包)spring注解 读取app核心配置文件
//@EnableTransactionManagement//事务管理

@ImportResource("classpath:dubbo_provider.xml")
@SpringBootApplication
@MapperScan("com.jk.mapper")
public class testStartss {
    public static void main(String[] args) throws Exception {
        //springboot启动命令
        SpringApplication.run(testStartss.class, args);
    }


}
